how to get the domain and range of a linear equation